package com.lordjoe.collectiveintelligence.pricemodel;

import com.lordjoe.collectiveintelligence.data.*;

/**
 * com.lordjoe.collectiveintelligence.pricemodel.WineBottle
 *
 * @author Steve Lewis
 * @date May 12, 2009
 */
public class WineBottle extends DataItem
{
    public static WineBottle[] EMPTY_ARRAY = {};
    public static Class THIS_CLASS = WineBottle.class;

    private double m_Price;
    public WineBottle(int age,int rating)
    {
        addMeasurement(new Measurement<Integer>(WineModel.WineAge,age,this));
        addMeasurement(new Measurement<Integer>(WineModel.WineRating,rating,this));
    }

    public double getPrice()
    {
        return m_Price;
    }

    public void setPrice(double pPrice)
    {
        m_Price = pPrice;
    }
}
